import mitt from 'mitt'

export const useEvents = () => {
  const emitter = mitt()

  return { emitter }
}
